package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 翻包任务子表
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-06-04
 */
@TableName("tw_packtran_task_detail")
public class TwPacktranTaskDetail implements Serializable {

	public TwPacktranTaskDetail(Integer twPacktranTaskDetailId, Integer twPacktranTaskHeaderId,
			Integer twInboundAllocDetailId, String partNoVersion, String supplNo, String partNameC, String baseUnit,
			String packtranStatus, Integer lineNo, String packNo1, String packNo2, String packNo3, String packNo4,
			String packNo5, String asnSheetNo, Integer preNboundQty, Integer actNboundQty, Integer prePackNum,
			Integer actPackNum, String lotNo, String partPackSerial, String inbSerialNo, Date packtranTime,
			String packtranMan, String customerid, String packtranSheetNo, Integer actTmBasStorageId,
			String inboundPriority, Integer prePackQty1, Integer actPackQty1, Integer prePackQty2, Integer actPackQty2,
			Integer prePackQty3, Integer actPackQty3, Integer prePackQty4, Integer actPackQty4, Integer prePackQty5,
			Integer actPackQty5, String lotatt01, String lotatt02, String lotatt03, String lotatt04, String lotatt05,
			String lotatt06, String lotatt07, String lotatt08, String lotatt09, String lotatt10, String lotatt11,
			String lotatt12, Integer markStatus, Date createTime, String createUser, Date lastUpdateTime,
			String lastUpdateUser, Integer optCounter, String companyCode) {
		this.twPacktranTaskDetailId = twPacktranTaskDetailId;
		this.twPacktranTaskHeaderId = twPacktranTaskHeaderId;
		this.twInboundAllocDetailId = twInboundAllocDetailId;
		this.partNoVersion = partNoVersion;
		this.supplNo = supplNo;
		this.partNameC = partNameC;
		this.baseUnit = baseUnit;
		this.packtranStatus = packtranStatus;
		this.lineNo = lineNo;
		this.packNo1 = packNo1;
		this.packNo2 = packNo2;
		this.packNo3 = packNo3;
		this.packNo4 = packNo4;
		this.packNo5 = packNo5;
		this.asnSheetNo = asnSheetNo;
		this.preNboundQty = preNboundQty;
		this.actNboundQty = actNboundQty;
		this.prePackNum = prePackNum;
		this.actPackNum = actPackNum;
		this.lotNo = lotNo;
		this.partPackSerial = partPackSerial;
		this.inbSerialNo = inbSerialNo;
		this.packtranTime = packtranTime;
		this.packtranMan = packtranMan;
		this.customerid = customerid;
		this.packtranSheetNo = packtranSheetNo;
		this.actTmBasStorageId = actTmBasStorageId;
		this.inboundPriority = inboundPriority;
		this.prePackQty1 = prePackQty1;
		this.actPackQty1 = actPackQty1;
		this.prePackQty2 = prePackQty2;
		this.actPackQty2 = actPackQty2;
		this.prePackQty3 = prePackQty3;
		this.actPackQty3 = actPackQty3;
		this.prePackQty4 = prePackQty4;
		this.actPackQty4 = actPackQty4;
		this.prePackQty5 = prePackQty5;
		this.actPackQty5 = actPackQty5;
		this.lotatt01 = lotatt01;
		this.lotatt02 = lotatt02;
		this.lotatt03 = lotatt03;
		this.lotatt04 = lotatt04;
		this.lotatt05 = lotatt05;
		this.lotatt06 = lotatt06;
		this.lotatt07 = lotatt07;
		this.lotatt08 = lotatt08;
		this.lotatt09 = lotatt09;
		this.lotatt10 = lotatt10;
		this.lotatt11 = lotatt11;
		this.lotatt12 = lotatt12;
		this.markStatus = markStatus;
		this.createTime = createTime;
		this.createUser = createUser;
		this.lastUpdateTime = lastUpdateTime;
		this.lastUpdateUser = lastUpdateUser;
		this.optCounter = optCounter;
		this.companyCode = companyCode;
	}

    public TwPacktranTaskDetail() {
    }

    private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "tw_packtran_task_detail_id", type = IdType.AUTO)
	private Integer twPacktranTaskDetailId;
	/**
	 * 头表ID
	 */
	@TableField("tw_packtran_task_header_id")
	private Integer twPacktranTaskHeaderId;
	/**
	 * 翻包完成后 分配上架库位时 分配表对应的ID
	 */
	@TableField("tw_inbound_alloc_detail_id")
	private Integer twInboundAllocDetailId;
	/**
	 * 零件号
	 */
	@TableField("part_no_version")
	private String partNoVersion;
	/**
	 * 供应商号
	 */
	@TableField("suppl_no")
	private String supplNo;
	/**
	 * 零件中文描述
	 */
	@TableField("part_name_c")
	private String partNameC;
	/**
	 * 基本单位
	 */
	@TableField("base_unit")
	private String baseUnit;
	/**
	 * 翻包状态 翻包任务子状态 0新单 1待打印 2已打印 3任务关闭
	 */
	@TableField("packtran_status")
	private String packtranStatus;
	/**
	 * 行号 自动递增
	 */
	@TableField("line_no")
	private Integer lineNo;
	/**
	 * 包材1
	 */
	@TableField("pack_no1")
	private String packNo1;
	/**
	 * 包材2
	 */
	@TableField("pack_no2")
	private String packNo2;
	/**
	 * 包材3
	 */
	@TableField("pack_no3")
	private String packNo3;
	/**
	 * 包材4
	 */
	@TableField("pack_no4")
	private String packNo4;
	/**
	 * 包材5
	 */
	@TableField("pack_no5")
	private String packNo5;
	/**
	 * ASN序列号
	 */
	@TableField("asn_sheet_no")
	private String asnSheetNo;
	/**
	 * 预期翻包数量 ---1包多少个零件的数量
	 */
	@TableField("pre_nbound_qty")
	private Integer preNboundQty;
	/**
	 * 实际翻包数量---1包多少个零件的数量
	 */
	@TableField("act_nbound_qty")
	private Integer actNboundQty;
	/**
	 * 预期翻包箱数
	 */
	@TableField("pre_pack_num")
	private Integer prePackNum;
	/**
	 * 实际翻包箱数 默认是0
	 */
	@TableField("act_pack_num")
	private Integer actPackNum;
	/**
	 * 批次号
	 */
	@TableField("lot_no")
	private String lotNo;
	/**
	 * 零件包装流水号
	 */
	@TableField("part_pack_serial")
	private String partPackSerial;
	/**
	 * 入库包装流水号
	 */
	@TableField("inb_serial_no")
	private String inbSerialNo;
	/**
	 * 翻包时间
	 */
	@TableField("packtran_time")
	private Date packtranTime;
	/**
	 * 翻包人
	 */
	@TableField("packtran_man")
	private String packtranMan;
	/**
	 * 货主 默认工厂的配送单位
	 */
	private String customerid;
	/**
	 * 翻包任务号
	 */
	@TableField("packtran_sheet_no")
	private String packtranSheetNo;
	/**
	 * 实物所在库位ID
	 */
	@TableField("act_tm_bas_storage_id")
	private Integer actTmBasStorageId;
	/**
	 * 入库优先级
	 */
	@TableField("inbound_priority")
	private String inboundPriority;
	/**
	 * 预期消耗包材1数量 默认是0
	 */
	@TableField("pre_pack_qty1")
	private Integer prePackQty1;
	/**
	 * 实际消耗包材1数量 默认是0
	 */
	@TableField("act_pack_qty1")
	private Integer actPackQty1;
	/**
	 * 预期消耗包材2数量 默认是0
	 */
	@TableField("pre_pack_qty2")
	private Integer prePackQty2;
	/**
	 * 实际消耗包材2数量 默认是0
	 */
	@TableField("act_pack_qty2")
	private Integer actPackQty2;
	/**
	 * 预期消耗包材3数量 默认是0
	 */
	@TableField("pre_pack_qty3")
	private Integer prePackQty3;
	/**
	 * 实际消耗包材3数量 默认是0
	 */
	@TableField("act_pack_qty3")
	private Integer actPackQty3;
	/**
	 * 预期消耗包材4数量 默认是0
	 */
	@TableField("pre_pack_qty4")
	private Integer prePackQty4;
	/**
	 * 实际消耗包材4数量 默认是0
	 */
	@TableField("act_pack_qty4")
	private Integer actPackQty4;
	/**
	 * 预期消耗包材4数量 默认是0
	 */
	@TableField("pre_pack_qty5")
	private Integer prePackQty5;
	/**
	 * 实际消耗包材5数量 默认是0
	 */
	@TableField("act_pack_qty5")
	private Integer actPackQty5;
	/**
	 * 批次01
	 */
	private String lotatt01;
	/**
	 * 批次02
	 */
	private String lotatt02;
	/**
	 * 批次03
	 */
	private String lotatt03;
	/**
	 * 批次04
	 */
	private String lotatt04;
	/**
	 * 批次05
	 */
	private String lotatt05;
	/**
	 * 批次06
	 */
	private String lotatt06;
	/**
	 * 批次07
	 */
	private String lotatt07;
	/**
	 * 批次08
	 */
	private String lotatt08;
	/**
	 * 批次09
	 */
	private String lotatt09;
	/**
	 * 批次10
	 */
	private String lotatt10;
	/**
	 * 批次11
	 */
	private String lotatt11;
	/**
	 * 批次12
	 */
	private String lotatt12;
	/**
	 * 是否激活
	 */
	@TableField("mark_status")
	private Integer markStatus;
	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Date createTime;
	/**
	 * 创建用户
	 */
	@TableField("create_user")
	private String createUser;
	/**
	 * 上次更新时间
	 */
	@TableField("last_update_time")
	private Date lastUpdateTime;
	/**
	 * 更改用户
	 */
	@TableField("last_update_user")
	private String lastUpdateUser;
	/**
	 * 版本控制
	 */
	@TableField("opt_counter")
	private Integer optCounter;
	/**
	 * 企业代码
	 */
	@TableField("company_code")
	private String companyCode;

	public Integer getTwPacktranTaskDetailId() {
		return twPacktranTaskDetailId;
	}

	public void setTwPacktranTaskDetailId(Integer twPacktranTaskDetailId) {
		this.twPacktranTaskDetailId = twPacktranTaskDetailId;
	}

	public Integer getTwPacktranTaskHeaderId() {
		return twPacktranTaskHeaderId;
	}

	public void setTwPacktranTaskHeaderId(Integer twPacktranTaskHeaderId) {
		this.twPacktranTaskHeaderId = twPacktranTaskHeaderId;
	}

	public Integer getTwInboundAllocDetailId() {
		return twInboundAllocDetailId;
	}

	public void setTwInboundAllocDetailId(Integer twInboundAllocDetailId) {
		this.twInboundAllocDetailId = twInboundAllocDetailId;
	}

	public String getPartNoVersion() {
		return partNoVersion;
	}

	public void setPartNoVersion(String partNoVersion) {
		this.partNoVersion = partNoVersion;
	}

	public String getSupplNo() {
		return supplNo;
	}

	public void setSupplNo(String supplNo) {
		this.supplNo = supplNo;
	}

	public String getPartNameC() {
		return partNameC;
	}

	public void setPartNameC(String partNameC) {
		this.partNameC = partNameC;
	}

	public String getBaseUnit() {
		return baseUnit;
	}

	public void setBaseUnit(String baseUnit) {
		this.baseUnit = baseUnit;
	}

	public String getPacktranStatus() {
		return packtranStatus;
	}

	public void setPacktranStatus(String packtranStatus) {
		this.packtranStatus = packtranStatus;
	}

	public Integer getLineNo() {
		return lineNo;
	}

	public void setLineNo(Integer lineNo) {
		this.lineNo = lineNo;
	}

	public String getPackNo1() {
		return packNo1;
	}

	public void setPackNo1(String packNo1) {
		this.packNo1 = packNo1;
	}

	public String getPackNo2() {
		return packNo2;
	}

	public void setPackNo2(String packNo2) {
		this.packNo2 = packNo2;
	}

	public String getPackNo3() {
		return packNo3;
	}

	public void setPackNo3(String packNo3) {
		this.packNo3 = packNo3;
	}

	public String getPackNo4() {
		return packNo4;
	}

	public void setPackNo4(String packNo4) {
		this.packNo4 = packNo4;
	}

	public String getPackNo5() {
		return packNo5;
	}

	public void setPackNo5(String packNo5) {
		this.packNo5 = packNo5;
	}

	public String getAsnSheetNo() {
		return asnSheetNo;
	}

	public void setAsnSheetNo(String asnSheetNo) {
		this.asnSheetNo = asnSheetNo;
	}

	public Integer getPreNboundQty() {
		return preNboundQty;
	}

	public void setPreNboundQty(Integer preNboundQty) {
		this.preNboundQty = preNboundQty;
	}

	public Integer getActNboundQty() {
		return actNboundQty;
	}

	public void setActNboundQty(Integer actNboundQty) {
		this.actNboundQty = actNboundQty;
	}

	public Integer getPrePackNum() {
		return prePackNum;
	}

	public void setPrePackNum(Integer prePackNum) {
		this.prePackNum = prePackNum;
	}

	public Integer getActPackNum() {
		return actPackNum;
	}

	public void setActPackNum(Integer actPackNum) {
		this.actPackNum = actPackNum;
	}

	public String getLotNo() {
		return lotNo;
	}

	public void setLotNo(String lotNo) {
		this.lotNo = lotNo;
	}

	public String getPartPackSerial() {
		return partPackSerial;
	}

	public void setPartPackSerial(String partPackSerial) {
		this.partPackSerial = partPackSerial;
	}

	public String getInbSerialNo() {
		return inbSerialNo;
	}

	public void setInbSerialNo(String inbSerialNo) {
		this.inbSerialNo = inbSerialNo;
	}

	public Date getPacktranTime() {
		return packtranTime;
	}

	public void setPacktranTime(Date packtranTime) {
		this.packtranTime = packtranTime;
	}

	public String getPacktranMan() {
		return packtranMan;
	}

	public void setPacktranMan(String packtranMan) {
		this.packtranMan = packtranMan;
	}

	public String getCustomerid() {
		return customerid;
	}

	public void setCustomerid(String customerid) {
		this.customerid = customerid;
	}

	public String getPacktranSheetNo() {
		return packtranSheetNo;
	}

	public void setPacktranSheetNo(String packtranSheetNo) {
		this.packtranSheetNo = packtranSheetNo;
	}

	public Integer getActTmBasStorageId() {
		return actTmBasStorageId;
	}

	public void setActTmBasStorageId(Integer actTmBasStorageId) {
		this.actTmBasStorageId = actTmBasStorageId;
	}

	public String getInboundPriority() {
		return inboundPriority;
	}

	public void setInboundPriority(String inboundPriority) {
		this.inboundPriority = inboundPriority;
	}

	public Integer getPrePackQty1() {
		return prePackQty1;
	}

	public void setPrePackQty1(Integer prePackQty1) {
		this.prePackQty1 = prePackQty1;
	}

	public Integer getActPackQty1() {
		return actPackQty1;
	}

	public void setActPackQty1(Integer actPackQty1) {
		this.actPackQty1 = actPackQty1;
	}

	public Integer getPrePackQty2() {
		return prePackQty2;
	}

	public void setPrePackQty2(Integer prePackQty2) {
		this.prePackQty2 = prePackQty2;
	}

	public Integer getActPackQty2() {
		return actPackQty2;
	}

	public void setActPackQty2(Integer actPackQty2) {
		this.actPackQty2 = actPackQty2;
	}

	public Integer getPrePackQty3() {
		return prePackQty3;
	}

	public void setPrePackQty3(Integer prePackQty3) {
		this.prePackQty3 = prePackQty3;
	}

	public Integer getActPackQty3() {
		return actPackQty3;
	}

	public void setActPackQty3(Integer actPackQty3) {
		this.actPackQty3 = actPackQty3;
	}

	public Integer getPrePackQty4() {
		return prePackQty4;
	}

	public void setPrePackQty4(Integer prePackQty4) {
		this.prePackQty4 = prePackQty4;
	}

	public Integer getActPackQty4() {
		return actPackQty4;
	}

	public void setActPackQty4(Integer actPackQty4) {
		this.actPackQty4 = actPackQty4;
	}

	public Integer getPrePackQty5() {
		return prePackQty5;
	}

	public void setPrePackQty5(Integer prePackQty5) {
		this.prePackQty5 = prePackQty5;
	}

	public Integer getActPackQty5() {
		return actPackQty5;
	}

	public void setActPackQty5(Integer actPackQty5) {
		this.actPackQty5 = actPackQty5;
	}

	public String getLotatt01() {
		return lotatt01;
	}

	public void setLotatt01(String lotatt01) {
		this.lotatt01 = lotatt01;
	}

	public String getLotatt02() {
		return lotatt02;
	}

	public void setLotatt02(String lotatt02) {
		this.lotatt02 = lotatt02;
	}

	public String getLotatt03() {
		return lotatt03;
	}

	public void setLotatt03(String lotatt03) {
		this.lotatt03 = lotatt03;
	}

	public String getLotatt04() {
		return lotatt04;
	}

	public void setLotatt04(String lotatt04) {
		this.lotatt04 = lotatt04;
	}

	public String getLotatt05() {
		return lotatt05;
	}

	public void setLotatt05(String lotatt05) {
		this.lotatt05 = lotatt05;
	}

	public String getLotatt06() {
		return lotatt06;
	}

	public void setLotatt06(String lotatt06) {
		this.lotatt06 = lotatt06;
	}

	public String getLotatt07() {
		return lotatt07;
	}

	public void setLotatt07(String lotatt07) {
		this.lotatt07 = lotatt07;
	}

	public String getLotatt08() {
		return lotatt08;
	}

	public void setLotatt08(String lotatt08) {
		this.lotatt08 = lotatt08;
	}

	public String getLotatt09() {
		return lotatt09;
	}

	public void setLotatt09(String lotatt09) {
		this.lotatt09 = lotatt09;
	}

	public String getLotatt10() {
		return lotatt10;
	}

	public void setLotatt10(String lotatt10) {
		this.lotatt10 = lotatt10;
	}

	public String getLotatt11() {
		return lotatt11;
	}

	public void setLotatt11(String lotatt11) {
		this.lotatt11 = lotatt11;
	}

	public String getLotatt12() {
		return lotatt12;
	}

	public void setLotatt12(String lotatt12) {
		this.lotatt12 = lotatt12;
	}

	public Integer getMarkStatus() {
		return markStatus;
	}

	public void setMarkStatus(Integer markStatus) {
		this.markStatus = markStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public Integer getOptCounter() {
		return optCounter;
	}

	public void setOptCounter(Integer optCounter) {
		this.optCounter = optCounter;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	@Override
	public String toString() {
		return "TwPacktranTaskDetail{" + ", twPacktranTaskDetailId=" + twPacktranTaskDetailId
				+ ", twPacktranTaskHeaderId=" + twPacktranTaskHeaderId + ", twInboundAllocDetailId="
				+ twInboundAllocDetailId + ", partNoVersion=" + partNoVersion + ", supplNo=" + supplNo + ", partNameC="
				+ partNameC + ", baseUnit=" + baseUnit + ", packtranStatus=" + packtranStatus + ", lineNo=" + lineNo
				+ ", packNo1=" + packNo1 + ", packNo2=" + packNo2 + ", packNo3=" + packNo3 + ", packNo4=" + packNo4
				+ ", packNo5=" + packNo5 + ", asnSheetNo=" + asnSheetNo + ", preNboundQty=" + preNboundQty
				+ ", actNboundQty=" + actNboundQty + ", prePackNum=" + prePackNum + ", actPackNum=" + actPackNum
				+ ", lotNo=" + lotNo + ", partPackSerial=" + partPackSerial + ", inbSerialNo=" + inbSerialNo
				+ ", packtranTime=" + packtranTime + ", packtranMan=" + packtranMan + ", customerid=" + customerid
				+ ", packtranSheetNo=" + packtranSheetNo + ", actTmBasStorageId=" + actTmBasStorageId
				+ ", inboundPriority=" + inboundPriority + ", prePackQty1=" + prePackQty1 + ", actPackQty1="
				+ actPackQty1 + ", prePackQty2=" + prePackQty2 + ", actPackQty2=" + actPackQty2 + ", prePackQty3="
				+ prePackQty3 + ", actPackQty3=" + actPackQty3 + ", prePackQty4=" + prePackQty4 + ", actPackQty4="
				+ actPackQty4 + ", prePackQty5=" + prePackQty5 + ", actPackQty5=" + actPackQty5 + ", lotatt01="
				+ lotatt01 + ", lotatt02=" + lotatt02 + ", lotatt03=" + lotatt03 + ", lotatt04=" + lotatt04
				+ ", lotatt05=" + lotatt05 + ", lotatt06=" + lotatt06 + ", lotatt07=" + lotatt07 + ", lotatt08="
				+ lotatt08 + ", lotatt09=" + lotatt09 + ", lotatt10=" + lotatt10 + ", lotatt11=" + lotatt11
				+ ", lotatt12=" + lotatt12 + ", markStatus=" + markStatus + ", createTime=" + createTime
				+ ", createUser=" + createUser + ", lastUpdateTime=" + lastUpdateTime + ", lastUpdateUser="
				+ lastUpdateUser + ", optCounter=" + optCounter + ", companyCode=" + companyCode + "}";
	}
}
